package com.qkm.xinguan.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 投诉表
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2022-01-28 11:58:26
 */
@Data
@TableName("complaint")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "complaint对象", description = "投诉信息表")
public class Complaint implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 *
	 */
	@ApiModelProperty(value = "投诉编号")
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 投诉原因
	 */
	@ApiModelProperty(value = "投诉原因")
	private String reason;
	/**
	 * 具体内容
	 */
	@ApiModelProperty(value = "具体内容")
	private String text;
	/**
	 * 房屋id
	 */
	@ApiModelProperty(value = "房屋id")
	private Integer houseId;
	/**
	 * 游客id
	 */
	@ApiModelProperty(value = "房东id")
	private Long userId;
	/**
	 * 游客id
	 */
	@ApiModelProperty(value = "游客id")
	private Long touristId;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;
	/**
	 * 处理情况(0没有处理，1已处理)
	 */
	@ApiModelProperty(value = "处理情况(0没有处理，1已处理)")
	private Integer deal;

}
